package com.jiaai.cloud.wx.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-09-08
 */
@TableName("t_wxalterimg")
public class TWxalterimg extends Model<TWxalterimg> {

    private static final long serialVersionUID = 1L;

    /**
     * 图片ID
     */
	@TableId(value = "imgid", type = IdType.AUTO)
	private Integer imgid;
    /**
     * 轮播图片的地址
     */
	private String imgurl;

	public Integer getAltergroupid() {
		return altergroupid;
	}

	public void setAltergroupid(Integer altergroupid) {
		this.altergroupid = altergroupid;
	}

	/**
     * 轮播组的id
     */
	private Integer altergroupid;
    /**
     * 轮播商店id
     */
	private Integer imgshopid;


	public Integer getImgid() {
		return imgid;
	}

	public void setImgid(Integer imgid) {
		this.imgid = imgid;
	}

	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}



	public Integer getImgshopid() {
		return imgshopid;
	}

	public void setImgshopid(Integer imgshopid) {
		this.imgshopid = imgshopid;
	}

	@Override
	protected Serializable pkVal() {
		return this.imgid;
	}

	public String getAltershopname() {
		return altershopname;
	}

	public void setAltershopname(String altershopname) {
		this.altershopname = altershopname;
	}

	/**
	 * 轮播组的商店名字
	 */
	@TableField(exist = false)
	private String altershopname;

}
